
/* @group 
    Allgemein 
*/
#downloadManager,
#downloadView {
    margin: 0px;
    padding: 0px;
    border: none;
}

#downloadView {
    -moz-appearance: none;	/* Win klassisches Theme */
}
/* @end */


/* @group 
    Toolbar 
*/
#search {
    direction: rtl;	/* Clear Button rechts in der Toolbar */
}

#search * {
    direction: ltr;
}

#searchbox {
    -moz-box-flex: 1000;
}

richlistitem {
    padding: 5px 0px 5px 5px;
}
/* @end */


/* @group 
    Icons (Linux hat ein hauseigenes Icon)
*/
window[aios_appOS="WINNT"] #clearListButton {
    list-style-image: url(icons/panels_menus.png);
    -moz-image-region: rect(0px, 48px, 16px, 32px);
}

window[aios_appOS="Darwin"] #clearListButton {
    list-style-image: url(icons/panels_menus.png);
    -moz-image-region: rect(32px, 48px, 48px, 32px);
}
/* @end */


/* @group 
    Status der Downloads 
*/
/*
	div. Status-Möglichkeiten

	state="-1"	=>	download-starting
	state="0"	=>	download-downloading
	state="1"	=>	download-done
	state="2"	=>	download-failed
	state="3"	=>	download-canceled
	state="4"	=>	download-paused
*/


/* @group 
    schmale Liste 
*/
richlistitem[state="1"]:not([selected=true]),
richlistitem[state="2"]:not([selected=true]),
richlistitem[state="3"]:not([selected=true]) {
    min-height: 0px !important;
    padding: 5px;
}

richlistitem[state="1"]:not([selected=true]) .downloadTypeIcon,
richlistitem[state="2"]:not([selected=true]) .downloadTypeIcon,
richlistitem[state="3"]:not([selected=true]) .downloadTypeIcon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

richlistitem[state="1"]:not([selected=true]) > hbox > vbox > hbox:nth-child(even),

richlistitem[state="1"]:not([selected=true]) label.status,
richlistitem[state="2"]:not([selected=true]) label.status,
richlistitem[state="3"]:not([selected=true]) label.status,

richlistitem[state="1"]:not([selected=true]) .mini-button,
richlistitem[state="2"]:not([selected=true]) .mini-button,
richlistitem[state="3"]:not([selected=true]) .mini-button,

richlistitem[state="1"]:not([selected=true]) #dmtDoneShowBtn,
richlistitem[state="2"]:not([selected=true]) #dmtDoneShowBtn,
richlistitem[state="3"]:not([selected=true]) #dmtDoneShowBtn,

richlistitem[state="1"]:not([selected=true]) #dmtDoneReloadBtn,
richlistitem[state="2"]:not([selected=true]) #dmtDoneReloadBtn,
richlistitem[state="3"]:not([selected=true]) #dmtDoneReloadBtn,

richlistitem[state="1"]:not([selected=true]) #dmtDoneDeleteBtn,
richlistitem[state="2"]:not([selected=true]) #dmtDoneDeleteBtn,
richlistitem[state="3"]:not([selected=true]) #dmtDoneDeleteBtn,

richlistitem[state="1"]:not([selected=true]) #dmtDoneCleanUpBtn,
richlistitem[state="2"]:not([selected=true]) #dmtDoneCleanUpBtn,
richlistitem[state="3"]:not([selected=true]) #dmtDoneCleanUpBtn {
    display: none;
}
/* @end */


/* @group 
    farbige Liste 
*/
/* downloaden */
*[aios_appDefTheme="true"] richlistitem[state="-1"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[state="0"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[state="4"]:not([selected=true]) {
    background-color: #ECFFEC !important;
}

*[aios_appDefTheme="true"] richlistitem[state="-1"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[state="0"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[state="4"]:not([selected=true]) > * {
    color: #006600;
}

/* fehlgeschlagene und abgebrochene Downloads */
*[aios_appDefTheme="true"] richlistitem[state="2"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[state="3"]:not([selected=true]) {
    background-color: #FFECEC !important;
}

*[aios_appDefTheme="true"] richlistitem[state="2"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[state="3"]:not([selected=true]) {
    color: #660000;
}
/* @end */
/* @end */


/* @group 
    Firefox-Standard-Theme 
*/
window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"] #downloadView {
    border-top: 1px solid ThreedShadow !important;
}

window[aios_appDefTheme="true"][aios_appOS="WINNT"] #search {
    -moz-appearance: toolbox;
    padding: 1px;
    border-top: 1px solid ThreedHighlight;
}

#searchbox, #clearListButton {
    margin: 1px;
}

window[aios_appDefTheme="true"]:not([aios_appOS="Darwin"]) richlistitem {
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: rgba(0,0,0,0.3);
}

window[aios_appDefTheme="true"] richlistitem .name {
    font-size: 11px;
    font-weight: bold;
}

window[aios_appDefTheme="true"] richlistitem[selected=true] .name,
window[aios_appDefTheme="true"] richlistitem[state="-1"] .name,
window[aios_appDefTheme="true"] richlistitem[state="0"] .name,
window[aios_appDefTheme="true"] richlistitem[state="4"] .name {
    font-size: 13px;
}

window[aios_appDefTheme="true"] richlistitem[selected=true] .status,
window[aios_appDefTheme="true"] richlistitem[selected=true] .dateTime {
    font-size: 11px;
}


/* @group 
    Windows-Standard
*/
window[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) #search {
    padding: 0px 1px 1px 1px;
}

window[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) richlistitem {
    padding-right: 4px;
}

window[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) richlistitem[state="1"]:not([selected=true]) {
    background-color: #FFFFFF;
}

window[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) richlistitem[state="1"]:not([selected=true]):nth-child(odd) {
    background-color: rgba(255,255,255,0.6);
}

window[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) richlistitem[selected="true"] {
    outline: 0;
}
/* @end */


/* @group 
    Windows XP-Standard 
*/
window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) #search {
    -moz-appearance: none;
    background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) #downloadView {
    background-color: #EDECEF;
}

window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) richlistitem[selected="true"] {
    background: #CAD3E1 none;
}
/* @end */


/* @group 
    Windows Vista-7-Standard 
*/
window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) #downloadView {
    background-color: #EEF3FA;
}

window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) #search {
    padding-right: 3px;
}

window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) richlistitem[selected="true"] {
    background: #CBD8E8 none;
}

window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) richlistitem[selected="true"] * {
    color: #000000;
}
/* @end */


/* @group 
    Darwin 
*/
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #downloadView:not(:-moz-window-inactive),
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #search:not(:-moz-window-inactive) {
    -moz-appearance: none;
    background-color: #d4dde5 !important;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #downloadView:-moz-window-inactive,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #search:-moz-window-inactive {
    -moz-appearance: none;
    background-color: #e8e8e8;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #downloadView {
    padding-top: 5px !important;
    border-top: none !important;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #search {
    padding: 1px 1px 10px 3px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #searchbox {
    margin-right: 6px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #clearListButton {
  -moz-appearance: none;
  margin-top: 2px;
  padding: 1px 0px 1px 5px;
  border: 1px solid #7F7F7F;
  -moz-border-radius: 10px;
  background: -moz-linear-gradient(top, #FFF, #ADADAD) repeat-x;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #clearListButton[disabled="true"] {
    opacity: 0.5;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[state="1"]:not([selected=true]) {
    background-color: #FFFFFF;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[state="1"]:not([selected=true]):nth-child(odd) {
    background-color: #ECF3FE;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[selected=true] {
    background-color: #aab8c6;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[selected=true] * {
    color: #000;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[selected=true] .name {
    text-shadow: rgba(255, 255, 255, 0.4) 0px 1px 0px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[selected=true] .status,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] richlistitem[selected=true] .dateTime {
    color: #000;
}
/* @end */
/* @end */
